1
2
3
4
5
6
7
8
9 package ca.uhn.cache.jmock;
10
11 import org.jmock.core.InvocationMatcher;
12
13
14 /***
15 * Base class for all jmock test cases.
16 *
17 * @author <a href="mailto:alexei.guevara@uhn.on.ca">Alexei Guevara</a>
18 * @version $Revision: 1.1 $ updated on $Date: 2005/01/24 22:54:16 $ by $Author: bryan_tripp $
19 */
20 public abstract class MockObjectTestCase extends org.jmock.MockObjectTestCase {
21
22 /***
23 */
24 public MockObjectTestCase() {
25 super();
26 }
27
28 /***
29 * @param theName The test case case.
30 */
31 public MockObjectTestCase( String theName ) {
32 super( theName );
33 }
34
35 protected InvocationMatcher count( int theExpectedInvocationCount ) {
36 return new InvokeNumberOfTimesInvocationHandler( theExpectedInvocationCount );
37 }
38
39 }